package mp.weixin.WXpublic.receive;

import mp.weixin.WXpublic.BaseReceiveMessage;
/**
 * 链接消息 
 * title
 * description
 * url
 * msgId
 * @author zhai
 *
 */
public class RLinkEntity extends BaseReceiveMessage {

	private String title;
	private String description;
	private String url;
	private long msgId;

	/**
	 * 链接消息的标题
	 * 
	 * @return
	 */
	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	/**
	 * 链接消息的描述
	 * 
	 * @return
	 */
	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	/**
	 * 消息链接
	 * 
	 * @return
	 */
	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	/**
	 * 消息id，64位整型
	 * 
	 * @return
	 */
	public long getMsgId() {
		return msgId;
	}

	public void setMsgId(long msgId) {
		this.msgId = msgId;
	}

	@Override
	public ReceiveTypeEnum getMsgType() {
		return ReceiveTypeEnum.LINK;
	}

}
